package com.demo.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.demo.api.DemoServices;
import com.fasterxml.jackson.core.format.DataFormatMatcher;

import java.util.Date;
import java.util.UUID;

@Service(version = "1.0.0")
public class DemoServicesImpl implements DemoServices {

    @Override
    public String toProvider(){
        String msg = "恭喜你连接成功,我是提供者";
        return msg + UUID.randomUUID().toString();
    }

}
